Optimal. Leaf size=65 \[ a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )-\frac{2 b e^{3/2} n \tan ^{-1}\left (\frac{\sqrt{d} \sqrt [3]{x}}{\sqrt{e}}\right )}{d^{3/2}}+\frac{2 b e n \sqrt [3]{x}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0417612, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.278, Rules used = {2448, 263, 243, 321, 205} \[ a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )-\frac{2 b e^{3/2} n \tan ^{-1}\left (\frac{\sqrt{d} \sqrt [3]{x}}{\sqrt{e}}\right )}{d^{3/2}}+\frac{2 b e n \sqrt [3]{x}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2448
Rule 263
Rule 243
Rule 321
Rule 205
Rubi steps
\begin{align*} \int \left (a+b \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )\right ) \, dx &=a x+b \int \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right ) \, dx\\ &=a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )+\frac{1}{3} (2 b e n) \int \frac{1}{\left (d+\frac{e}{x^{2/3}}\right ) x^{2/3}} \, dx\\ &=a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )+\frac{1}{3} (2 b e n) \int \frac{1}{e+d x^{2/3}} \, dx\\ &=a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )+(2 b e n) \operatorname{Subst}\left (\int \frac{x^2}{e+d x^2} \, dx,x,\sqrt [3]{x}\right )\\ &=\frac{2 b e n \sqrt [3]{x}}{d}+a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )-\frac{\left (2 b e^2 n\right ) \operatorname{Subst}\left (\int \frac{1}{e+d x^2} \, dx,x,\sqrt [3]{x}\right )}{d}\\ &=\frac{2 b e n \sqrt [3]{x}}{d}+a x-\frac{2 b e^{3/2} n \tan ^{-1}\left (\frac{\sqrt{d} \sqrt [3]{x}}{\sqrt{e}}\right )}{d^{3/2}}+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )\\ \end{align*}
Mathematica [C] time = 0.0133864, size = 53, normalized size = 0.82 \[ a x+b x \log \left (c \left (d+\frac{e}{x^{2/3}}\right )^n\right )+\frac{2 b e n \sqrt [3]{x} \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};-\frac{e}{d x^{2/3}}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.204, size = 168, normalized size = 2.6 \begin{align*} ax+xb\ln \left ( c \left ({ \left ( e+d{x}^{{\frac{2}{3}}} \right ){x}^{-{\frac{2}{3}}}} \right ) ^{n} \right ) +{\frac{2\,b{e}^{2}n}{3\,d}\arctan \left ({\frac{x{d}^{2}}{e}{\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}}+2\,{\frac{enb\sqrt [3]{x}}{d}}-{\frac{2\,b{e}^{2}n}{3\,d}\arctan \left ({ \left ( 2\,d\sqrt [3]{x}+\sqrt{3}\sqrt{d}\sqrt{e} \right ){\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}}+{\frac{2\,b{e}^{2}n}{3\,d}\arctan \left ({ \left ( \sqrt{3}\sqrt{d}\sqrt{e}-2\,d\sqrt [3]{x} \right ){\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}}-{\frac{4\,b{e}^{2}n}{3\,d}\arctan \left ({d\sqrt [3]{x}{\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.99349, size = 664, normalized size = 10.22 \begin{align*} \left [\frac{b e n \sqrt{-\frac{e}{d}} \log \left (\frac{d^{3} x^{2} + 2 \, d^{2} e x \sqrt{-\frac{e}{d}} - e^{3} - 2 \,{\left (d^{3} x \sqrt{-\frac{e}{d}} - d e^{2}\right )} x^{\frac{2}{3}} - 2 \,{\left (d^{2} e x + d e^{2} \sqrt{-\frac{e}{d}}\right )} x^{\frac{1}{3}}}{d^{3} x^{2} + e^{3}}\right ) + b d n \log \left (d x^{\frac{2}{3}} + e\right ) + b d x \log \left (c\right ) - 2 \, b d n \log \left (x^{\frac{1}{3}}\right ) + 2 \, b e n x^{\frac{1}{3}} + a d x +{\left (b d n x - b d n\right )} \log \left (\frac{d x + e x^{\frac{1}{3}}}{x}\right )}{d}, -\frac{2 \, b e n \sqrt{\frac{e}{d}} \arctan \left (\frac{d x^{\frac{1}{3}} \sqrt{\frac{e}{d}}}{e}\right ) - b d n \log \left (d x^{\frac{2}{3}} + e\right ) - b d x \log \left (c\right ) + 2 \, b d n \log \left (x^{\frac{1}{3}}\right ) - 2 \, b e n x^{\frac{1}{3}} - a d x -{\left (b d n x - b d n\right )} \log \left (\frac{d x + e x^{\frac{1}{3}}}{x}\right )}{d}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 161.897, size = 61, normalized size = 0.94 \begin{align*} a x + b \left (\frac{2 e n \left (\frac{3 \sqrt [3]{x}}{d} - \frac{3 e \operatorname{atan}{\left (\frac{\sqrt [3]{x}}{\sqrt{\frac{e}{d}}} \right )}}{d^{2} \sqrt{\frac{e}{d}}}\right )}{3} + x \log{\left (c \left (d + \frac{e}{x^{\frac{2}{3}}}\right )^{n} \right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32507, size = 77, normalized size = 1.18 \begin{align*} -{\left ({\left (2 \,{\left (\frac{\arctan \left (\sqrt{d} x^{\frac{1}{3}} e^{\left (-\frac{1}{2}\right )}\right ) e^{\frac{1}{2}}}{d^{\frac{3}{2}}} - \frac{x^{\frac{1}{3}}}{d}\right )} e - x \log \left (d + \frac{e}{x^{\frac{2}{3}}}\right )\right )} n - x \log \left (c\right )\right )} b + a x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]